package org.zfes.snowier.zbss.xzy.router.user.file;
import java.io.IOException;
import java.util.List;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.zfes.snowier.web.controller.BaseController;
import org.zfes.snowier.zbss.xzy.biz.file.model.File;

import com.google.common.collect.Lists;
@Controller("org.zfes.snowier.zbss.xzy.router.user.file.FileController") 
@RequestMapping("/api/user/file")
public class FileController implements BaseController {

	@RequestMapping(value="/loadMessageFiles/{messageId}", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_VALUE)
    public  @ResponseBody Object loadMessageFiles(@PathVariable(name = "messageId")Long messageId) throws IllegalStateException, IOException{
    	List<File> files=Lists.newArrayList();
    	return ajaxQuery("files", files);
    }
	
	
	
	
    
}